import datetime
from python_baway.common.xcommon import sep

sep('datetime max')
print(datetime.date.max)
print(datetime.date.min)
print(datetime.date.resolution)


def xget_max_str(xobj):
    return f"""\
Max = {xobj.max}
Min = {xobj.min}
Res = {xobj.resolution}
"""


for xobj in (datetime.date, datetime.time, datetime.datetime):
    sep(repr(xobj))
    print(xget_max_str(xobj))
